#!/usr/bin/env node

//Buffer base64编码

const usr = process.argv[2],
    pwd = process.argv[3];
const usr_pwd = `${usr}:${pwd}`;
const buff = Buffer.from(usr_pwd);
console.log(`用户名：${usr}\n密码：${pwd}`);
console.log(buff.toString('base64'));  
